<template>
   <div class="cancelBtn" @click="cancelBtn">
    <p>清除选项</p>
   </div>
</template>

<script>
export default {
  methods:{
    cancelBtn(){
      this.$emit('cancel')
    }
  }
};
</script>

<style lang="less" scoped>
.cancelBtn {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.2rem;
  background-color: #eee;
  padding: 0.15rem 0.2rem;
  box-sizing: border-box;
  p {
    border: 1px solid #979797;
    border-radius: 0.1rem;
    color: #4e4e4e;
    font-size: 0.36rem;
    line-height: 0.9rem;
    text-align: center;
    background-color: #fff;
    width: 100%;
  }
}
</style>
